package com.example.springboot.service;

import cn.hutool.core.date.DateTime;
import com.example.springboot.pojo.Validation;

public interface ValidationService {
    void saveCode(String email, String code, DateTime time);

    Validation[] findValidation(String email);

    boolean checkValidation(String email,String code);

    void deleteValidation(String email);
}
